home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Utils / GParted Live CD / Bin / gparted-livecd-0.2.2.iso / fake / needwrite / etc / rc.d / init.d / reboot < prev    next >
Encoding:
Text File  |  2006-01-27  |  316 b   |  23 lines

  1. #!/bin/sh
  2. # Begin $rc_base/init.d/reboot - Reboot Script
  3.  
  4. # Written by Gerard Beekmans  - gerard@linuxfromscratch.org
  5.  
  6. . /etc/sysconfig/rc
  7. . $rc_functions
  8.  
  9. case "$1" in
  10.     stop)
  11.         reboot -d -f -i
  12.         ;;
  13.  
  14.     *)
  15.         echo -e -n '\E[32mUsage: $0 {stop}'
  16.                 echo ""
  17.         exit 1
  18.         ;;
  19.  
  20. esac
  21.  
  22. # End $rc_base/init.d/reboot
  23.